package com.lening.community.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 16:50
 */
@TableName("store")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="储藏室", description="")
public class Store implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "oid", type = IdType.AUTO)
    private Long oid;               //储藏室序号
    @ExcelProperty("社区名称")
    private Long communityId;   //社区id
    @ExcelProperty("楼宇名称")
    private Long buildNameId;       //楼宇名称
    @ExcelProperty("楼层数")
    private String fllorNum;          //楼层数
    @ExcelProperty("储藏室编号")
    private String storeNum;          //储藏室编号
    @ExcelProperty("建筑面积")
    private BigDecimal buildArea;          //建筑面积
    @ExcelProperty("使用面积")
    private BigDecimal useArea;          //使用面积
    @ExcelProperty("房屋状态")
    private Long houseStatuId;      //房屋状态
    @ExcelProperty("是否删除")
    private Long deleteId;            //1删除   0未删
    @ExcelProperty("绑定业主")
    private Long yid;              //绑定业主
    @ExcelProperty("备注")
    private String remarks;        //备注
}
